package com.quick.develop.flowable.domain.task;

import com.quick.develop.flowable.domain.page.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

import static com.quick.develop.framework.utils.DateUtils.YYYY_MM_DD_HH_MM_SS;


/**
 * @author camellia
 */
@ApiModel("管理后台 - 流程任务的 Done 已办的分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BpmTaskDonePageReqVO extends PageParam {

    private static final long serialVersionUID = 9111992153444549336L;
    @ApiModelProperty(value = "流程任务名")
    private String name;

    @ApiModelProperty(value = "流程标题")
    private String processName;

    @ApiModelProperty(value = "流程分类")
    private String processCategory;

    @ApiModelProperty(value = "流程分类")
    private List<String> processCategories;

    @ApiModelProperty(value = "所属流程名称")
    private String processDefinitionName;

    @ApiModelProperty(value = "开始的创建收间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginCreateTime;

    @ApiModelProperty(value = "结束的创建时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endCreateTime;
    
    @ApiModelProperty(value = "开始的结束收间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date beginEndTime;

    @ApiModelProperty(value = "结束的结束时间")
    @DateTimeFormat(pattern = YYYY_MM_DD_HH_MM_SS)
    private Date endEndTime;

}
